/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.splot;

import java.awt.Font;

/**
 *
 * @author Daniel Aleksandrow
 */
public class PlotLabels {
    
    private static Font DEFAULT_TITLE_FONT = new Font("sansserif",Font.BOLD,32);
    private static Font DEFAULT_X_FONT = new Font("sansserif",Font.BOLD,16);
    private static Font DEFAULT_Y_FONT = new Font("sansserif",Font.BOLD,16);
    
    public static enum labels { TITLE, X, Y};
    
    private String titletext;
    private String xtext;
    private String ytext;
    
    public PlotLabels(String title, String x, String y) {
        
    }
    
    public void setString(labels l, String s) {
        switch (l) {
            case TITLE:
                this.titletext = s;
                break;
            case X:
                this.xtext = s;
                break;
            case Y:
                this.ytext = s;
                break;
            default:
                break;
        }
    }
    
    public String getString(labels l) {
        switch (l) {
            case TITLE:
                return this.titletext;
            case X:
                return this.xtext;
            case Y:
                return this.ytext;
            default:
                return null;
        }
    }
    
}
